<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>

		<script>
			var num = Math.random() * 100;
			// 取整
			num = Math.floor(num);

			var res = ++num;
			document.write(res);
		</script>

	</body>
</html>
